

#ifndef OGLEFFECTPASS_H
#define OGLEFFECTPASS_H

#include "LibraryEngineExport.h"
#include "Graphics\Effects\IEffectPass.h"
#include "OGLShader.h"

namespace CasaEngine
{
	class COGLEffect;
	class IEffect;

	///
	class LIBRARY_ENGINE_EXPORT COGLEffectPass : public IEffectPass
	{
	public:
		COGLEffectPass(COGLEffect * pEffect_, COGLShader *pShader_);
		~COGLEffectPass();
		
		void Begin();
		void End();
		
	private:
		COGLEffect *m_pEffect;
		COGLShader *m_pShader;
	};

}  // namespace CasaEngine

#endif //OGLEFFECTPASS_H